package com.empire.module.rainbow.controller.app.diy.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.empire.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.empire.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "用户 APP - 六彩-装修页面分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AppRainbowDiyPagePageReqVO extends PageParam {

    @Schema(description = "装修模板编号", example = "15506")
    private Long templateId;

    @Schema(description = "页面名称", example = "芋艿")
    private String name;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "预览图，多个逗号分隔")
    private String previewPicUrls;

    @Schema(description = "页面属性，JSON 格式")
    private String property;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
